package o;

import android.os.Build.VERSION;
import android.view.View;
import android.view.accessibility.AccessibilityRecord;
import androidx.annotation.NonNull;

public class io {
    private final AccessibilityRecord ˏ;

    public static void ˎ(@NonNull AccessibilityRecord accessibilityRecord, View view, int i) {
        if (VERSION.SDK_INT >= 16) {
            accessibilityRecord.setSource(view, i);
        }
    }

    public static void ˊ(AccessibilityRecord accessibilityRecord, int i) {
        if (VERSION.SDK_INT >= 15) {
            accessibilityRecord.setMaxScrollX(i);
        }
    }

    public static void ˏ(AccessibilityRecord accessibilityRecord, int i) {
        if (VERSION.SDK_INT >= 15) {
            accessibilityRecord.setMaxScrollY(i);
        }
    }

    @Deprecated
    public int hashCode() {
        return this.ˏ == null ? 0 : this.ˏ.hashCode();
    }

    @Deprecated
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        io ioVar = (io) obj;
        if (this.ˏ == null) {
            if (ioVar.ˏ != null) {
                return false;
            }
            return true;
        } else if (this.ˏ.equals(ioVar.ˏ)) {
            return true;
        } else {
            return false;
        }
    }
}
